package com.cxyjy.common.constants;

import java.net.MalformedURLException;
import java.net.URL;

/**
 * @Author: JrsJony
 * @Date : 2025/1/20 10:03
 */
public final class PPTCreateConstants {
    public static final URL CREATE_PPT_URL;
    public static final String ZHIPU_API_KEY = "47d48779b5ad45858619b8c089ef54d8.udxlYxucWApHxq4D";

    //智谱api，上传文件url
    public static final URL ZHIPU_UPLOAD_FILE_URL;
    static {
        try {
            CREATE_PPT_URL = new URL("https://open.bigmodel.cn/api/paas/v4/assistant");
            ZHIPU_UPLOAD_FILE_URL = new URL("https://open.bigmodel.cn/api/paas/v4/files");
        } catch (MalformedURLException e) {
            throw new RuntimeException(e);
        }
    }


}
